{% extends "shm/addressbook_base.html" %}

{% block department_list %}
{% comment %}
    <h3>{{ department.name }}</h3>
{% endcomment %}    
    {% for item in department_tree %}
        <div style="padding-left:{{ item.csslevel }}px" class="tree_item">
            <a href="{% url adressbook_department_detail department.id item.id %}">{{ item.name }}</a>
            <p>
            {% for phone in item.phones %}
            {{ phone }},
            {% endfor %}
            </p>
        </div>
    {% endfor %}
{% endblock %}
